package com.shop.loan.service;

import com.shop.loan.model.entity.LoanOrderByMybatis;
import com.shop.loan.model.enums.ServiceType;

import java.util.List;

public interface EruptUserDataService {

    Long allotServiceByBefore(ServiceType serviceType, Long userId);

    void allotServiceByList(List<LoanOrderByMybatis> orderByMybatisList, ServiceType serviceType);

    Boolean checkServiceAuth(ServiceType serviceType, Long eruptUserId);

    Boolean checkChannelAuth(Long eruptUserId);
}
